namespace PeaceBlogData.Tables
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Pages
    {
        [Key]
        public Guid PageID { get; set; }

        [StringLength(200)]
        public string Title { get; set; }

        public string SpecialURL { get; set; }

        public bool IsPartial { get; set; }

        [Column(TypeName = "text")]
        public string Content { get; set; }

        public int? Partial { get; set; }

        [StringLength(70)]
        public string MetaTitle { get; set; }

        [StringLength(160)]
        public string MetaDescription { get; set; }

        [StringLength(200)]
        public string MetaKeywords { get; set; }

        public string SpecialMeta { get; set; }

        public bool IsWork { get; set; }

        public int AuthorID { get; set; }

        public DateTime SaveDate { get; set; }

        public virtual Files Files { get; set; }

        public virtual Authors Authors { get; set; }
    }
}
